import request from '@/utils/request'
// 查询立档单位三员信息树列表
export function listTenantTree(query) {
    return request({
      url: '/manage/sys/tenantTree',
      method: 'get',
      params: query
    })
  }
  
// 查询立档单位三员列表
export function listSYS(query) {
  return request({
    url: '/system/user/syslist',
    method: 'get',
    params: query
  })
}

// 查询立档单位三员详细
export function getSYS(ID) {
  return request({
    url: '/manage/SYS/' + ID,
    method: 'get'
  })
}

// 新增立档单位三员
export function addSYS(data) {
  return request({
    url: '/manage/SYS',
    method: 'post',
    data: data
  })
}

// 修改立档单位三员
export function updateSYS(data) {
  return request({
    url: '/system/user/editSys',
    method: 'put',
    data: data
  })
}

// 删除立档单位三员
export function delSYS(ID) {
  return request({
    url: '/manage/SYS/' + ID,
    method: 'delete'
  })
}
